package com.hashnode.mapper;

import com.hashnode.model.Payment;

import java.util.List;

public interface PaymentMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Payment record);

    int insertSelective(Payment record);

    Payment selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Payment record);

    int updateByPrimaryKey(Payment record);


    public List<Payment> getAllPayment();
}